From 0e256ef68232d45c938c7d29fca0cd9d1466cc75 Mon Sep 17 00:00:00 2001 From: Victor Vasiliev Date: Mon, 17 Mar 2008 15:38:17 +0000 Subject: [PATCH] I hate it. Sure --- includes/api/ApiQueryAllimages.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/api/ApiQueryAllimages.php b/includes/api/ApiQueryAllimages.php index 527abeaad7..b306074f37 100644 --- a/includes/api/ApiQueryAllimages.php +++ b/includes/api/ApiQueryAllimages.php @@ -123,6 +123,7 @@ class ApiQueryAllimages extends ApiQueryGeneratorBase { 'timestamp' => wfTimestamp(TS_ISO_8601, $file->getTimestamp()), 'url' => $file->getFullUrl() ); + $data[] = $item; } else { $data[] = Title::makeTitle( NS_IMAGE, $row->img_name ); } @@ -190,7 +191,7 @@ class ApiQueryAllimages extends ApiQueryGeneratorBase { return array ( 'Simple Use', ' Show a list of images starting at the letter "B"', - ' api.php?action=query&list=allimages&apfrom=B', + ' api.php?action=query&list=allimages&aifrom=B', 'Using as Generator', ' Show info about 4 images starting at the letter "T"', ' api.php?action=query&generator=allimages&gailimit=4&gaifrom=T&prop=imageinfo', -- 2.20.1